﻿namespace KseCms.Application
{
    public class PaymentDto
    {
        [Required, MaxLength(50)]
        public string Id { get; set; }

        public string OrderId { get; set; }

        public PaymentMod PaymentMethod { get; set; }

        public PayStatus Status { get; set; } = PayStatus.Failure;

        public DateTime CreatedTime { get; set; } 

        public DateTime UpdatedTime { get; set; } 
    }

    public enum PaymentMod
    {
        WechatPay,
        AliPay,
        UnionPay
    }

    public enum PayStatus
    {
        Failure,
        Success
    }
}
